package com.alibaba.algo.cooperation.usercomponent.service.user;

import com.alibaba.algo.cooperation.common.BaseResult;
import com.alibaba.algo.cooperation.usercomponent.vo.req.user.SysSapLogRequestVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(url="${feign.userCenterUrl:}", value = "usercenter-service", contextId = "usercenter-app")
public interface SysSapLogService {

    @RequestMapping(value = "/sysSapLog/insert", method = RequestMethod.POST)
    BaseResult insert(@RequestBody SysSapLogRequestVO sysSapLogRequestVO);

    @RequestMapping(value = "/sysSapLog/delete", method = RequestMethod.POST)
    BaseResult delete(@RequestBody SysSapLogRequestVO sysSapLogRequestVO);

    @RequestMapping(value = "/sysSapLog/update", method = RequestMethod.POST)
    BaseResult update(@RequestBody SysSapLogRequestVO sysSapLogRequestVO);

}
